| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

CompilationResultWrapper.h
1 // CompilationResultWrapper.h
3 //
5
6 namespace nkAstraeus::nkScriptsWrap
7 {
11 class CompilationResultWrapper final
12 {
13 public :
14
15 // Env
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Constructor, destructor
35 static void* constructor (const nkScripts::DataStack& stack) ;
41 static void destructor (void* toDestroy) ;
42 // Getters
53 static nkScripts::OutputValue getFailureMessage (void* data) ;
64 static nkScripts::OutputValue getFailureType (void* data) ;
75 static nkScripts::OutputValue getSuccess (void* data) ;
76 // Setters
86 static void setFailureMessage (const nkScripts::DataStack& stack) ;
96 static void setFailureType (const nkScripts::DataStack& stack) ;
106 static void setSuccess (const nkScripts::DataStack& stack) ;
107 } ;
108 }
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::constructor
static void * constructor(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::getFailureType
static nkScripts::OutputValue getFailureType(void *data)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkScriptsWrap::CompilationResultWrapper
Wraps a nkScripts::CompilationResult and offers capabilities to use it in scripts.
Definition: CompilationResultWrapper.h:12
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::setFailureMessage
static void setFailureMessage(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::setFailureType
static void setFailureType(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::getSuccess
static nkScripts::OutputValue getSuccess(void *data)
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::nkScriptsWrap
Encompasses the wrapping of nkScripts for scripting.
Definition: Constants.h:7
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::setSuccess
static void setSuccess(const nkScripts::DataStack &stack)
nkAstraeus::nkScriptsWrap::CompilationResultWrapper::getFailureMessage
static nkScripts::OutputValue getFailureMessage(void *data)